# -*- coding: utf-8 -*-
# Created by methew at 2018/6/3
from flask_security.datastore import SQLAlchemyUserDatastore
from flask_security import Security
from .models import db
from src.models import user

user_datastore = SQLAlchemyUserDatastore(db, user.User, user.Role)
security = Security(datastore=user_datastore)
